﻿@{
    ViewBag.Title = "User administration";
}

<h2>@ViewBag.Message</h2>

<p>
    Hello, <strong>@ViewData["name"]</strong>! You're @((bool)ViewData["isAdmin"] ? "an admin" : "a doctor")! 
</p>

@if ((bool)ViewData["isAdmin"])
{
<p>
    To manage doctors, click here: @Html.ActionLink("doctor administration", "index", "doctor");
</p>
}
<p>
    To manage citizens and who their doctor is, click here: @Html.ActionLink("citizen administration", "index", "citizen");
</p>